Data structure: \(O = (W, A, Y)\)
Underlying data generating process, \(P_{U,X}\)
Outcome of interest: \(E_0[Y|a,W]\)
## W A Y
## Min. :-4.320028 Min. :0.000 Min. :0.0000
## 1st Qu.:-0.677201 1st Qu.:0.636 1st Qu.:0.0000
## Median :-0.007599 Median :2.040 Median :0.0000
## Mean :-0.008472 Mean :2.138 Mean :0.4663
## 3rd Qu.: 0.665460 3rd Qu.:3.408 3rd Qu.:1.0000
## Max. : 3.832139 Max. :5.000 Max. :1.0000
## Summary of A given W < -1:
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 0.000 1.435 2.765 2.761 4.232 5.000
## Summary of A given -1 < W <= 0:
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 0.000 0.946 2.300 2.322 3.554 5.000
## Summary of A given 0 < W <= 1:
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 0.000 0.407 1.782 1.944 3.158 5.000
## Summary of A given 1 < W:
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 0.000 0.000 1.211 1.516 2.507 5.000
## The average lambda of CV-HAL: 0.0133 (= 1 * lambda_CV )
## The average lambda of globally undersmoothed HAL: 0.0042 (= 0.3176 * lambda_CV )
## The average lambdatime of locally undersmoothed HAL: 0.011, 0.011, 0.011, 0.0111, 0.0112, 0.0115, 0.0116, 0.0117, 0.0118, 0.0117, 0.0118 (= [0.8443, 0.8425, 0.8441, 0.8464, 0.8581, 0.8733, 0.8839, 0.8929, 0.8969, 0.895, 0.8974] * lambda_CV
## The average fitting time for CV-HAL: 4.8179 seconds
## The average fitting time for globally undersmoothed HAL: 7.3648 seconds
## The average fitting time for locally undersmoothed HAL: 31.9061 seconds
## [1] "proportion of simulations that cannot compute empirical SD:"
## 1.2 1.1 1 0.6952 0.4833 0.336 0.2336 0.1624 0.1129 0.0785 0.0546
## 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.001 0.002 0.003
## 0.0379 0.0264 0.0183 0.0127 0.0089 0.0062 0.0043 0.003 0.0021 0.0014 0.001
## 0.007 0.008 0.023 0.044 0.064 0.108 0.178 0.238 0.351 0.466 0.632
## The average lambda of CV-HAL: 0.0061 (= 1 * lambda_CV )
## The average lambda of globally undersmoothed HAL: 0.0019 (= 0.2967 * lambda_CV )
## The average lambdatime of locally undersmoothed HAL: 0.0047, 0.0046, 0.0045, 0.0045, 0.0045, 0.0046, 0.0048, 0.0049, 0.0049, 0.005, 0.005 (= [0.7389, 0.7233, 0.716, 0.712, 0.7146, 0.7327, 0.758, 0.7732, 0.7852, 0.7899, 0.7959] * lambda_CV
## The average fitting time for CV-HAL: 5.3619 seconds
## The average fitting time for globally undersmoothed HAL: 10.0429 seconds
## The average fitting time for locally undersmoothed HAL: 54.3114 seconds
## [1] "proportion of simulations that cannot compute empirical SD:"
## 1.2 1.1 1 0.6952 0.4833 0.336 0.2336 0.1624 0.1129 0.0785 0.0546
## 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000
## 0.0379 0.0264 0.0183 0.0127 0.0089 0.0062 0.0043 0.003 0.0021 0.0014 0.001
## 0.000 0.003 0.005 0.016 0.023 0.038 0.059 0.103 0.153 0.221 0.268
## The average lambda of CV-HAL: 0.0030 (= 1 * lambda_CV )
## The average lambda of globally undersmoothed HAL: 0.0008 (= 0.2678 * lambda_CV )
## The average lambdatime of locally undersmoothed HAL: 0.0019, 0.0018, 0.0018, 0.0018, 0.0018, 0.0019, 0.002, 0.0021, 0.0021, 0.0021, 0.0022 (= [0.6125, 0.5858, 0.5749, 0.5608, 0.5635, 0.5956, 0.6329, 0.6576, 0.6818, 0.6903, 0.698] * lambda_CV
## The average fitting time for CV-HAL: 5.8012 seconds
## The average fitting time for globally undersmoothed HAL: 11.4634 seconds
## The average fitting time for locally undersmoothed HAL: 62.6101 seconds
## [1] "proportion of simulations that cannot compute empirical SD:"
## 1.2 1.1 1 0.6952 0.4833 0.336 0.2336 0.1624 0.1129 0.0785 0.0546
## 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000 0.000
## 0.0379 0.0264 0.0183 0.0127 0.0089 0.0062 0.0043 0.003 0.0021 0.0014 0.001
## 0.000 0.001 0.001 0.007 0.010 0.016 0.027 0.047 0.073 0.104 0.135
Data structure: \(O = (W, A, Y)\)
Underlying data generating process, \(P_{U,X}\)
Outcome of interest: \(E_0[Y|a,W]\)
## W A Y
## Min. :-3.61831 Min. :0.000 Min. :0.0000
## 1st Qu.:-0.68682 1st Qu.:0.612 1st Qu.:0.0000
## Median :-0.00980 Median :2.021 Median :0.0000
## Mean :-0.00214 Mean :2.124 Mean :0.0661
## 3rd Qu.: 0.67024 3rd Qu.:3.395 3rd Qu.:0.0000
## Max. : 4.61816 Max. :5.000 Max. :1.0000
## Summary of A given W < -1:
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 0.000 1.408 2.752 2.694 4.110 5.000
## Summary of A given -1 < W <= 0:
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 0.0000 0.8729 2.2537 2.3142 3.6316 5.0000
## Summary of A given 0 < W <= 1:
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 0.0000 0.4784 1.7923 1.9353 3.0472 5.0000
## Summary of A given 1 < W:
## Min. 1st Qu. Median Mean 3rd Qu. Max.
## 0.000 0.000 1.147 1.531 2.612 5.000
## The average lambda of CV-HAL: 0.0038 (= 1 * lambda_CV )
## The average lambda of globally undersmoothed HAL: 0.0015 (= 0.3256 * lambda_CV )
## The average lambdatime of locally undersmoothed HAL: 0.0038, 0.0037, 0.0035, 0.0035, 0.0035, 0.0035, 0.0035, 0.0035, 0.0035, 0.0034, 0.0034 (= [0.9989, 0.99, 0.9801, 0.9767, 0.9777, 0.9792, 0.9802, 0.9796, 0.9805, 0.9726, 0.9731] * lambda_CV
## The average fitting time for CV-HAL: 4.6812 seconds
## The average fitting time for globally undersmoothed HAL: 6.3512 seconds
## The average fitting time for locally undersmoothed HAL: 18.9695 seconds
## [1] "proportion of simulations that cannot compute empirical SD:"
## 1.2 1.1 1 0.6952 0.4833 0.336 0.2336 0.1624 0.1129 0.0785 0.0546
## 0.708 0.720 0.726 0.744 0.769 0.781 0.811 0.827 0.840 0.866 0.888
## 0.0379 0.0264 0.0183 0.0127 0.0089 0.0062 0.0043 0.003 0.0021 0.0014 0.001
## 0.905 0.910 0.926 0.925 0.933 0.934 0.946 0.955 0.960 0.975 0.978
## [1] "proportion of simulations that cannot compute empirical SD:"
## 1.2 1.1 1 0.6952 0.4833 0.336 0.2336 0.1624 0.1129 0.0785 0.0546
## 0.946 0.947 0.948 0.944 0.944 0.956 0.969 0.984 0.988 0.990 0.989
## 0.0379 0.0264 0.0183 0.0127 0.0089 0.0062 0.0043 0.003 0.0021 0.0014 0.001
## 0.995 0.995 0.997 1.000 0.999 1.000 1.000 1.000 1.000 1.000 1.000